﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DAL;

namespace HomeStayWebCP.Models
{
    public class HouseModel
    {
        public List<Store_House_GetHouseOrdinateAndPostTitle_Result> getIMapInforOnProvince(int province)
        {
            DAL.HousesDataModel dalModel = new DAL.HousesDataModel();
            List<Store_House_GetHouseOrdinateAndPostTitle_Result> listResult;
            listResult = dalModel.getHouseOrdianateAndPostTitle(province);
            return listResult;

        }

        public int ProvinceId { get; set; }
        public int DistrictId { get; set; }
        public int Housetype { get; set; }
        public int Pricetype { get; set; }
        public int MinPrice { get; set; }
        public int MaxPrice { get; set; }
        public int MinArea { get; set; }
        public int MaxArea { get; set; }
        public List<DAL.HomeStayType> Listhomestaytype { get; set; }
    }
}